<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>用户隐私保护指引设置</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  {include file="public/css"/}
</head>
<body>
  <div class="layui-fluid">
    <div class="layui-row layui-col-space15">
      <div class="layui-card layui-col-md12">
				<div class="layui-card-header"><i class="fa fa-cog"></i> 用户隐私保护指引设置<i class="layui-icon layui-icon-close" style="font-size:18px;font-weight:bold;cursor:pointer" onclick="closeself()"></i></div>
				<div class="layui-card-body" pad15>
					<div class="layui-form" lay-filter="">
						收集信息用途说明<hr/>
						{foreach $privacyArr as $k=>$item}
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">{$item.desc}：</label>
							<div class="layui-input-inline">
								<input type="text" name="setting_list[{$k}]" value="{$item['text']}" class="layui-input" lay-verify="required" lay-verType="tips"/>
							</div>
							{if $k == 'UserInfo'}
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">例如 辨别用户身份</div>
							{/if}
							{if $k == 'Address'}
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">例如 地址导航</div>
							{/if}
							{if $k == 'PhoneNumber'}
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">例如 发送短信通知</div>
							{/if}
							{if $k == 'MessageFile'}
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">例如 上传评价图片等</div>
							{/if}
						</div>
						{/foreach}
						信息收集方联系方式<hr/>
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">邮箱：</label>
							<div class="layui-input-inline">
								<input type="text" name="owner_setting[contact_email]" value="{$owner_setting['contact_email']}" class="layui-input"/>
							</div>
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">邮箱、手机号、QQ、微信号 4种联系方式至少要填一种</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">手机号：</label>
							<div class="layui-input-inline">
								<input type="text" name="owner_setting[contact_phone]" value="{$owner_setting['contact_phone']}" class="layui-input"/>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">QQ：</label>
							<div class="layui-input-inline">
								<input type="text" name="owner_setting[contact_qq]" value="{$owner_setting['contact_qq']}" class="layui-input"/>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">微信号：</label>
							<div class="layui-input-inline">
								<input type="text" name="owner_setting[contact_weixin]" value="{$owner_setting['contact_weixin']}" class="layui-input"/>
							</div>
						</div>
						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px">通知方式：</label>
							<div class="layui-input-inline">
								<input type="text" name="owner_setting[notice_method]" value="{$owner_setting['notice_method']}" class="layui-input" lay-verify="required" lay-verType="tips"/>
							</div>
							<div class="layui-form-mid layui-word-aux" style="margin-left:10px;">例如通过弹窗或者公告或者其他方式</div>
						</div>

						<div class="layui-form-item">
							<label class="layui-form-label" style="width:130px"></label>
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="formsubmit">提 交</button>
							</div>
						</div>
					</div>
				</div>
      </div>
    </div>
  </div>
	{include file="public/js"/}
	<script>
	layui.form.on('radio(wxpay_type)', function(data){
		if(data.value == '0'){
			$('#wxpay_type1set').hide();
			$('#wxpay_type0set').show();
		}else{
			$('#wxpay_type1set').show();
			$('#wxpay_type0set').hide();
		}
	})
	layui.form.on('submit(formsubmit)', function(obj){
		var field = obj.field
		$.post('',field,function(data){
			dialog(data.msg,data.status,data.url);
		})
	})
  </script>
	{include file="public/copyright"/}
</body>
</html>